:root {
    --cyan: #00b4d8;
    --white: #fff;
    --black: #000;
    --gray: #888;
    --border: rgba(255, 255, 255, 0.15)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 48px 64px
}

.title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px
}

.title-ent {
    font-family: 'Space Mono', monospace;
    font-size: 52px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: -2px
}

.title-html {
    font-family: 'Space Mono', monospace;
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -2px
}

.tab-bar {
    display: flex;
    margin-bottom: 64px;
    border-bottom: 1px solid var(--border)
}

.tab {
    padding: 10px 20px;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--gray);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    user-select: none
}

.tab.active {
    color: var(--white);
    border-bottom-color: var(--cyan)
}

.main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 40px
}

.left {
    max-width: 420px
}

.headline {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.5px;
    margin-bottom: 16px
}

.subtext {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    font-weight: 300
}

.right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    min-width: 260px
}

.file-btn {
    width: 240px;
    height: 64px;
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .5px;
    position: relative;
    overflow: hidden
}

.file-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: translateX(-101%);
    transition: transform .25s cubic-bezier(.4, 0, .2, 1)
}

.file-btn:hover::before {
    transform: translateX(0)
}

.file-btn:hover {
    color: var(--black)
}

.file-btn span {
    position: relative;
    z-index: 1
}

.drop-hint {
    font-size: 11px;
    color: var(--gray);
    font-family: 'Space Mono', monospace;
    letter-spacing: .5px
}

.status-wrap {
    position: fixed;
    bottom: 40px;
    left: 64px;
    right: 64px
}

.status {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--cyan);
    min-height: 18px
}

.status.error {
    color: #ff4d4d
}

.progress-bar-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px
}

.progress-bar {
    height: 100%;
    background: var(--cyan);
    width: 0%;
    transition: width .4s ease
}

.drag-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 180, 216, .06);
    border: 2px solid var(--cyan);
    z-index: 100;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    color: var(--cyan);
    letter-spacing: 2px
}

.drag-overlay.active {
    display: flex
}

.version {
    position: fixed;
    bottom: 44px;
    right: 64px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: #333
}

input[type=file] {
    display: none
}